home *** CD-ROM | disk | FTP | other *** search
/ Champak 86 / (Vol 86) My Disc.iso / Games / restaurante_1072.swf / scripts / __Packages / Harp.as < prev    next >
Text File  |  2009-04-16  |  5KB  |  138 lines

  1. if(true)
  2. {
  3.    if(true)
  4.    {
  5.       ┬º┬ºpush(false);
  6.    }
  7.    if(!┬º┬ºpop())
  8.    {
  9.       if(true)
  10.       {
  11.          if(true)
  12.          {
  13.             ┬º┬ºpush(false);
  14.          }
  15.          if(!┬º┬ºpop())
  16.          {
  17.             if(!_global.Harp)
  18.             {
  19.                _global.Harp extends BoundItem;
  20.                var _loc2_ = _global.Harp = function($mc, $num, $heartsNum)
  21.                {
  22.                   super($mc,$num,$heartsNum);
  23.                   this.init();
  24.                }.prototype;
  25.                _global.Harp = function($mc, $num, $heartsNum)
  26.                {
  27.                   super($mc,$num,$heartsNum);
  28.                   this.init();
  29.                }.__get__MCLINK = function()
  30.                {
  31.                   return "Harp";
  32.                };
  33.                _global.Harp = function($mc, $num, $heartsNum)
  34.                {
  35.                   super($mc,$num,$heartsNum);
  36.                   this.init();
  37.                }.__get__PLAYDELAY = function()
  38.                {
  39.                   return 3000;
  40.                };
  41.                _global.Harp = function($mc, $num, $heartsNum)
  42.                {
  43.                   super($mc,$num,$heartsNum);
  44.                   this.init();
  45.                }.__get__READYLABEL = function()
  46.                {
  47.                   return "ready";
  48.                };
  49.                _global.Harp = function($mc, $num, $heartsNum)
  50.                {
  51.                   super($mc,$num,$heartsNum);
  52.                   this.init();
  53.                }.__get__PLAYINGLABEL = function()
  54.                {
  55.                   return "playing";
  56.                };
  57.                _loc2_.init = function()
  58.                {
  59.                   var obj = this;
  60.                   this.__get__mc().gotoAndStop(Harp.__get__READYLABEL());
  61.                   this.__get__mc().onRelease = function()
  62.                   {
  63.                      obj.__get__mc().gotoAndStop(Harp.__get__PLAYINGLABEL());
  64.                      var interval = setInterval(function()
  65.                      {
  66.                         obj.active();
  67.                         clearInterval(interval);
  68.                      }
  69.                      ,Harp.__get__PLAYDELAY());
  70.                   };
  71.                };
  72.                _loc2_.active = function()
  73.                {
  74.                   Mission.getMission().getBound(this);
  75.                   this._num = this._num - 1;
  76.                   if(this.__get__mc() && this.__get__num() <= 0)
  77.                   {
  78.                      this.terminate();
  79.                   }
  80.                };
  81.                ┬º┬ºpush((_global.Harp = function($mc, $num, $heartsNum)
  82.                {
  83.                   super($mc,$num,$heartsNum);
  84.                   this.init();
  85.                }).addProperty("MCLINK",_global.Harp = function($mc, $num, $heartsNum)
  86.                {
  87.                   super($mc,$num,$heartsNum);
  88.                   this.init();
  89.                }.__get__MCLINK,function()
  90.                {
  91.                }
  92.                ));
  93.                ┬º┬ºpush((_global.Harp = function($mc, $num, $heartsNum)
  94.                {
  95.                   super($mc,$num,$heartsNum);
  96.                   this.init();
  97.                }).addProperty("PLAYDELAY",_global.Harp = function($mc, $num, $heartsNum)
  98.                {
  99.                   super($mc,$num,$heartsNum);
  100.                   this.init();
  101.                }.__get__PLAYDELAY,function()
  102.                {
  103.                }
  104.                ));
  105.                ┬º┬ºpush((_global.Harp = function($mc, $num, $heartsNum)
  106.                {
  107.                   super($mc,$num,$heartsNum);
  108.                   this.init();
  109.                }).addProperty("PLAYINGLABEL",_global.Harp = function($mc, $num, $heartsNum)
  110.                {
  111.                   super($mc,$num,$heartsNum);
  112.                   this.init();
  113.                }.__get__PLAYINGLABEL,function()
  114.                {
  115.                }
  116.                ));
  117.                ┬º┬ºpush((_global.Harp = function($mc, $num, $heartsNum)
  118.                {
  119.                   super($mc,$num,$heartsNum);
  120.                   this.init();
  121.                }).addProperty("READYLABEL",_global.Harp = function($mc, $num, $heartsNum)
  122.                {
  123.                   super($mc,$num,$heartsNum);
  124.                   this.init();
  125.                }.__get__READYLABEL,function()
  126.                {
  127.                }
  128.                ));
  129.                ┬º┬ºpush(ASSetPropFlags(_global.Harp.prototype,null,1));
  130.             }
  131.             ┬º┬ºpop();
  132.          }
  133.       }
  134.       ┬º┬ºgoto(addr200);
  135.    }
  136. }
  137. addr200:
  138.